﻿using System;
using ProjScan.RecordManager;
using ProjScan.RecordManager.AssetData;
using ProjScan.ScanRule.Attr;

namespace ProjScan.ScanRule.ProjectAssets.AudioClip
{
	// Token: 0x020001F4 RID: 500
	[AudioRuleAttr]
	internal class Audio_Streaming : RecordRuleImp<AudioClipAssetData, AudioRecordManager>
	{
		// Token: 0x06000EF3 RID: 3827 RVA: 0x00042D1C File Offset: 0x00040F1C
		protected override bool IsOK(AudioClipAssetData assetData)
		{
			return assetData.clipLength < 10f || assetData.clipLoadType == AudioClipAssetData.AudioClipLoadType.Streaming || assetData.clipLoadType == AudioClipAssetData.AudioClipLoadType.Unknown;
		}
	}
}
